import { TableViewColumnConfig } from '../../elasticsearch-client'

export interface TransferResultToTableResult {
  columns: Array<TableViewColumnConfig>
  records: Array<Record<string, any>>
}

// 转换json为表格
export function transferResultToTable(json: string): TransferResultToTableResult {
  return {
    columns: [],
    records: []
  }
}
